{include file=member.header.html}
<div class="content">
    <div class="totline"></div><div class="botline"></div>
    {include file=member.menu.html}
    <div id="right">
		{include file=member.curlocal.html}
        {include file=member.submenu.html}

        <div class="wrap">
            <div class="eject_btn" title="{$lang.add_address}"><b class="ico1" ectype="dialog" dialog_title="{$lang.add_address}" dialog_id="my_address_add" dialog_width="600" uri="index.php?app=my_address&act=add">{$lang.add_address}</b></div>

            <div class="public table">
                <table>
                    <!--{if $addresses}-->
                    <tr class="line_bold">
                        <th colspan="6"></th>
                    </tr>
                    <tr class="gray">
                        <th>{$lang.consignee}</th>
                        <th>{$lang.region}</th>
                        <th class="width3">{$lang.address}</th>
                        <th>{$lang.zipcode}</th>
                        <th class="width5">{$lang.phone}</th>
                        <th>{$lang.handle}</th>
                    </tr>
                    <!--{/if}-->
                    <!--{foreach from=$addresses item=address name=v}-->
                    <tr class="line <!--{if $smarty.foreach.v.last}-->last_line<!--{/if}-->">
                        <td class="align2">{$address.consignee|escape}</td>
                        <td class="align2">{$address.region_name|escape}</td>
                        <td class="align2">{$address.address|escape}</td>
                        <td class="align2">{$address.zipcode|escape}</td>
                        <td class="align2">{$address.phone_mob}</td>
                        <td class="align2">
                            <!--{if $address.is_default}-->
                            <a href="javascript:void(0)" class="default float_none">{$lang.default_address}</a>
                            <!--{else}-->
                            <a href="index.php?app=my_address&amp;act=set_default_address&addr_id={$address.addr_id}" class="edit1 float_none">{$lang.set_default_address}</a>
                            <!--{/if}-->
                            <a href="javascript:void(0);" ectype="dialog" dialog_id="my_address_edit" dialog_title="{$lang.edit_address}" dialog_width="700" uri="index.php?app=my_address&act=edit&addr_id={$address.addr_id}" class="edit1 float_none">{$lang.edit}</a>
                            <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=my_address&amp;act=drop&addr_id={$address.addr_id}');" class="delete float_none">{$lang.drop}</a>
                        </td>
                    </tr>
                    <!--{foreachelse}-->
                    <tr>
                        <td colspan="6" class="member_no_records">{$lang.$smarty.get.act}{$lang.no_records}</td>
                    </tr>
                    <!--{/foreach}-->
                </table>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
<iframe id='iframe_post' name="iframe_post" frameborder="0" width="0" height="0">
</iframe>
{include file=footer.html}
